[ Home |
Download |
Order |
Support
]
[ Table of Contents ]
Attribute Values Editor
This editor is available from the Attribute Values tab of the Configuration Editor.
This is where you can add, edit, and delete attribute values. An attribute value is the value that appears following an attribute and an equal sign. For instance, in "align=left", "align" is the attribute and "left" is the attribute value.
For example, to add an attribute value to an attribute:
- Select the attribute that you want to add an attribute value to in the Attribute Being Configured combo box. A list of currently assigned attribute values of the attribute now appears in the Attribute's attribute values list box.
- From the Attribute values list box, simply double click the attribute value that you want to add to the attribute. The value should now appear in the Attribute's attribute values list box.
- If the attribute value does not exist, you can add it by typing it in the edit box and then pressing the New Value button. Assign a category to the new value using the Attribute value category combo box.
List Boxes
- Attribute values - Contains a list of all available tag attribute values, including several built-in attribute values. See below for the buttons used to add and delete attribute values to and from this list box.
- (16 color names) - Any attribute with this value assigned to it may equal one of 16 color names: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.
- (alphanum string) - Any attribute with this value assigned to it may equal a string made up of allowable characters for unquoted attribute values. The HTML 4.01 specification allows A-Z, a-z, 0-9, - (hyphen), . (period), _ (underscore), and : (colon) for unquoted attribute values.
- (CF six digit hex) - Any attribute with this value assigned to it may equal a number in the form ##xxxxxx where each x is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, or f (case insensitive). This is for Cold Fusion support.
- (Cold Fusion variable) - Any attribute with this value assigned to it may equal a string in the form #x# where x is an alphanumeric string that begins with an alphabetic character and may also contain periods and underscores.
- (ignore value) - Any attribute with this value assigned to it may equal any value, including a zero length string of characters (but it must be quoted if zero length). The value ends at a space character or is a string enclosed in double-quotes.
- (int offset -6 to +6) - Any attribute with this value assigned to it may equal -6, -5, -4, -3, -2, -1, -0, +0, +1, +2, +3, +4, +5, or +6.
- (integer offset) - Any attribute with this value assigned to it may equal an integer offset such as +1, -9, +2, etc., where the sign of the number is mandatory and where +0 and -0 are not valid values.
- (integers 1 to 7) - Any attribute with this value assigned to it may equal 1, 2, 3, 4, 5, 6, or 7.
- (neg integer) - Any attribute with this value assigned to it may equal a negative integer such as -1, -4, -89, etc. 0 is not a negative integer.
- (Netscape color names) - Any attribute with this value assigned to it may equal one of the 140 color names supported by Netscape.
- (no value) - Any attribute with this value assigned to it is considered valid if it has no value. That is, there is no '=VALUE' attached to the attribute.
- (null string) - Any attribute with this value assigned to it is considered valid if it is equal to a NULL string. That is, an equal sign followed by two double quote marks with nothing between them.
- (percent) - Any attribute with this value assigned to it may equal a percent such as 50%, 0%, 23%, etc., greater than 0%. In versions prior to v5.51, the percent had to be between 0% and 100% but in v5.51 there is no upper limit.
- (pos integer) - Any attribute with this value assigned to it may equal a positive integer, but not a negative integer. Examples are 56, 23, and 782. 0 not a positive integer.
- (relative width) - Any attribute with this value assigned to it may equal a value in the form i*, where i is a positive integer. A single "*" is also validated.
- (single alphanum char) - Any attribute with this value assigned to it may equal a single alphanumeric character.
- (single character) - Any attribute with this value assigned to it may equal a single character. The character does not have to be alphanumeric.
- (six digit hex) - Any attribute with this value assigned to it may equal a number in the form #xxxxxx where each x is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, or f (case insensitive).
- (string) - Any attribute with this value assigned to it may equal a non-zero length string of characters. If the string is not enclosed in double-quotes, the string ends at a space character, otherwise the string is all the characters between two double-quotes. Note that assigning this value accepts a very large number values, especially if the string does not have to be double quoted.
- (string 2) - Same as (string). With two strings, you can require that one require double quotes and another have optional quotes.
- (string 3), (string 4) - Again, similar to (string), but you can assign different quotation requirements to each (string x).
- (zero) - Any attribute with this value assigned to it may equal the integer value 0. 00, 000, 0000, etc., are also valid values.
- Attribute's attribute values - Contains a list of attribute values that are assigned to the currently selected attribute. These are the attribute values that are considered valid values for the selected attribute when a document is validated. To remove an attribute value from the Attribute's Attribute Values List Box, select the attribute value to remove and click the delete button (<-) or double click the attribute value to remove. To add an attribute value to the Attribute's Attribute Values List Box, select an attribute value from the Attribute Values List Box and click the add button (->) or double click the attribute value to add.
Combo Boxes
- Attribute value category - Use this combo box to select which tag category the selected attribute value belongs to.
Push Buttons
- New Value - Press this button to add a new attribute value to the Attribute Values List Box. The attribute value that is added is the string contained in the edit box above the New Value Button.
- Delete Value - Press this button to delete the attribute value selected in the Attribute Values List Box. Built-in attribute values cannot be deleted. Note that if you delete an attribute value, all attributes that have the deleted attribute value assigned to it will no longer have the deleted attribute value assigned to it.
- -> - Press this button to add the selected attribute value in the Attribute Values List Box to the Attribute's Attribute Values List Box. Note that you may also double click an attribute value in the Attribute Values List Box instead of pressing this button.
- <- - Press this button to delete the selected attribute value in the Attribute's Attribute Values List Box. Note that you may also double click an attribute value in the Attribute's Attribute Values List Box instead of pressing this button.
Radio Buttons
- Allowable Quotation Buttons - These buttons affect the currently selected attribute value in the Attribute Values List Box. If the selected attribute value requires that it be enclosed in double quotation marks (i.e. ATTRIBUTE="ATTRIBUTEVALUE"), select Must be double quoted. Otherwise, select Cannot be quoted or May be double quoted, or another option, depending on the attribute value. You can now also select options for single quoted attribute values.
Check Boxes
- Case sensitive - Check this box if the currently selected attribute value in the Attribute Values List Box is case sensitive. If this box is checked, then each character's case of the selected attribute value must match each character's case of the attribute value in the HTML document in order for it to be valid. This option is not enabled by default.
[ Table of Contents ]
Copyright © 1997-2003 AI Internet Solutions.